<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<!-- 
		 
		 对于盒子模型来说，行内块级元素比起块级元素能够和其他非块级元素共存一行-->
		<style type="text/css">
			div{
				width: 40%;
				height: 200px;
				font-size: 24px;
				display: inline-block;
				padding: 20px;
				border: 5px solid yellow;
				margin: 5px;
			}
			.div1{
				background-color: #87ceeb;
			}
			.div2{
				background-color: #ff0000;
			}
		</style>
		<div class="div1">我是div1</div>
		<div class="div2">我是div2</div>
	</body>
</html>
